package com.caseProcess.service.impl;

import com.caseProcess.entity.ProcessStatus;
import com.caseProcess.mapper.ProcessStatusDao;
import com.caseProcess.service.ProcessStatusService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ProcessStatusServiceImpl implements ProcessStatusService {
    @Resource
    ProcessStatusDao processStatusDao;

    @Override
    public int insert(ProcessStatus processStatus) {
        return processStatusDao.insert(processStatus);
    }

    @Override
    public int update(ProcessStatus processStatus) {
        return processStatusDao.update(processStatus);
    }

    @Override
    public int delete(ProcessStatus processStatus) {
        return processStatusDao.delete(processStatus);
    }

    @Override
    public List<ProcessStatus> selectProcessStatuss(ProcessStatus processStatus) {
        return processStatusDao.selectProcessStatuss(processStatus);
    }
}
